from django.db import models
from django.utils import timezone


# Create your models here.
class Todo(models.Model):
    todo_title = models.CharField(max_length=50)
    is_finished = models.BooleanField(default=False)
    create_time = models.DateTimeField(default=timezone.now())
    finish_time = models.DateTimeField(default=None, blank=True, null=True)
